Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added mumps.h wrapper for MUMPS and a directory for testing the new header called
mumps_testing
. In here you will find a customCMakeLists.txt
file that does the linking with Fortran in order to let the wrapper work. To make sure that the tests compile correctly theuser_config.cmake
file should be changed to manually set the directories.I provided two shell bash scripts in this folder:
matrix_generator.sh
randomly generates the matrices used for the testing according to a given seed:./matrix_generator.sh [SEED]
. If omitted, 42 is used as default seed.run_tests.sh
emulates the script with the same name in the directory test with minor changes (the test run is done withmpirun --use-hwthread-cpus
and the output is copied to the filetest_output.log
)In the tests,
rand_indices.h
is used to generate random indices to test a couple of methods, currently the seed is set as 42 but it can be manually changed in the file itself, it's a global constexpr int that can be found at the start of the code after the includes (there is also the option to make it unseeded by switching the corresponding constexpr bool to false).